package com.zhilianbao.leyaogo.model.response.shoppingcart;

import java.io.Serializable;

/**
 * ClassName: AddedOrderInfo <br>
 * Description: <br>
 * Author: Cyarie <br>
 * Created: 2016/11/30 17:12 <br>
 * Update Time：<br>
 * Update Description：<br>
 */
public class AddedOrderInfo implements Serializable {


    /**
     * orderId : 296
     * associatedOrid : null
     * orderNo : NSZNSZ120161133500094
     * orderType : 70
     * supplierId : 1237
     * shopId : 1238
     * userId : 1162
     * totalPrice : 99
     * activityPrice : 0
     * couponsPrice : 0
     * postPrice : 20
     * rechargeCardPrice : 0
     * totalCouponsPrice : 0
     * amountPrice : 119
     * paymentPrice : 119
     * isBack : null
     * payStatus : 0
     * orderCode : 3
     * comments : null
     */

    private long orderId;//主键 订单主键
    private Long associatedOrid;//关联订单号 0 无 目前用于充值订单后赠送商品的赠送订单使用
    private String orderNo;//订单号码
    private int orderType;//订单类型 0 普通订单 1 虚拟订单 2 充值订单 3 赠送订单 4 团购订单
    private long supplierId;//所属运营商编号
    private long shopId;//卖家店铺编号
    private long userId;//买家用户编号
    private double totalPrice;//订单明细金额 item中 AmountPrice和
    private double activityPrice;//活动金额
    private double couponsPrice;//优惠券金额
    private double postPrice;//邮费
    private double rechargeCardPrice;//卡抵扣金额
    private double totalCouponsPrice;// 总优惠金额 CouponsPrice+ActivityPrice
    private double amountPrice;//订单实际金额 TotalPrice-CouponsPrice-ActivityPrice-PostPrice
    private double paymentPrice;//订单支付金额 PaymentPrice=AmountPrice-RechargeCardPrice
    private Integer isBack;//是否退订 0 无 1 有
    private int payStatus;//支付状态 0 未支付 1 已支付
    private int orderCode;//订单状态 1 待确认 2 已确认 3 未支付 4 已支付 5 已发货 6 已完成 99 已取消
    private String comments;//备注

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getOrderType() {
        return orderType;
    }

    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }

    public long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(long supplierId) {
        this.supplierId = supplierId;
    }

    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public double getPostPrice() {
        return postPrice;
    }

    public void setPostPrice(double postPrice) {
        this.postPrice = postPrice;
    }

    public double getCouponsPrice() {
        return couponsPrice;
    }

    public void setCouponsPrice(double couponsPrice) {
        this.couponsPrice = couponsPrice;
    }

    public double getActivityPrice() {
        return activityPrice;
    }

    public void setActivityPrice(double activityPrice) {
        this.activityPrice = activityPrice;
    }

    public double getRechargeCardPrice() {
        return rechargeCardPrice;
    }

    public void setRechargeCardPrice(double rechargeCardPrice) {
        this.rechargeCardPrice = rechargeCardPrice;
    }

    public double getTotalCouponsPrice() {
        return totalCouponsPrice;
    }

    public void setTotalCouponsPrice(double totalCouponsPrice) {
        this.totalCouponsPrice = totalCouponsPrice;
    }

    public double getAmountPrice() {
        return amountPrice;
    }

    public void setAmountPrice(double amountPrice) {
        this.amountPrice = amountPrice;
    }

    public double getPaymentPrice() {
        return paymentPrice;
    }

    public void setPaymentPrice(double paymentPrice) {
        this.paymentPrice = paymentPrice;
    }

    public int getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(int payStatus) {
        this.payStatus = payStatus;
    }

    public int getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(int orderCode) {
        this.orderCode = orderCode;
    }

    public Long getAssociatedOrid() {
        return associatedOrid;
    }

    public void setAssociatedOrid(Long associatedOrid) {
        this.associatedOrid = associatedOrid;
    }

    public Integer getIsBack() {
        return isBack;
    }

    public void setIsBack(Integer isBack) {
        this.isBack = isBack;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }
}
